home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / WAIS / next-ui / QuestionDoc.h < prev    next >
Encoding:
Text File  |  1992-02-03  |  997 b   |  46 lines

  1. // QuestionDoc.h
  2. //
  3. // Free software created 1 Feb 1992
  4. // by Paul Burchard <burchard@math.utah.edu>.
  5. //
  6. // Additional strings needed in [[NXApp delegate] stringTable]:
  7. //    "WAIS Question Error!"
  8. //    "Can't find WAIS specifications for document %s"
  9. //    "Can't find WAIS specifications for source %s"
  10. //
  11.  
  12. #import "Doc.h"
  13.  
  14. @interface QuestionDoc:Doc
  15. {
  16.     // WAIS handle.
  17.     id waisQuestion;
  18.     
  19.     // Fields in question window.
  20.     id searchButton;
  21.     id keyWordField;
  22.     id resultBrowser;
  23.     id resultWell;
  24.     id sourceBrowser;
  25.     id sourceWell;
  26.     id similarBrowser;
  27.     id similarWell;
  28.     id iconWellControl;
  29. }
  30.  
  31. + (const char *)fileType;
  32. + (const char *)nibName;
  33. + (const char *)miniIconName;
  34. + (const char *)defaultFolder;
  35. - init;
  36. - free;
  37. - dump:sender;
  38. - load:sender;
  39. - setFileName:(const char *)aName;
  40. - search:sender;
  41. - textDidEnd:sender endChar:(unsigned short)whyEnd;
  42. - (int)openFile:(const char *)fileKey ok:(int *)flag;
  43. - (int)prepFile:(const char *)fileKey ok:(int *)flag;
  44.  
  45. @end
  46.